package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Created by liu on 2017/10/30.
 */
@Entity(value = "MemberLevel",noClassnameStored = true)
public class MemberLevel extends BaseLongIdEntity{
    private String code; //会员等级code
    private String name;
    private double consume;//升级要求的消费额
    private int shopCommiaaion = 0; //店主收益提成(%)

    public String getCode() {return code;}

    public void setCode(String code) {this.code = code;}

    public String getName() {return name;}

    public void setName(String name) {this.name = name;}

    public double getConsume() {return consume;}

    public void setConsume(double consume) {this.consume = consume;}

    public int getShopCommiaaion() {return shopCommiaaion;}

    public void setShopCommiaaion(int shopCommiaaion) {this.shopCommiaaion = shopCommiaaion;}
}
